package cn.yqn.dto;

import cn.yqn.domain.*;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/** 
* @Title: 导入所以domain包对象
* @Description: TODO
* @Author: YQN
* @Version: 1.0
* @Date:  2022/9/4 22:44
* @Parameters: 
* @Return 
*/
@Data
public class CourseDto {

    // 课程
    @Valid
    private Course course;
    // 课程详情
    @Valid
    private CourseDetail courseDetail;
    // 课程营销
    @Valid
    private CourseMarket courseMarket;
    // 课程资源
    @Valid
    private CourseResource courseResource;
    // 老师表
    @NotEmpty
    private List<Long> teacherIds;


}
